package com.nbsaas.boot.merchant.rest.convert;

import com.nbsaas.boot.merchant.data.entity.MerchantReview;
import com.nbsaas.boot.merchant.api.domain.response.MerchantReviewResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 商家评价-实体对象转化成响应对象
*/

public class MerchantReviewResponseConvert  implements Converter<MerchantReviewResponse,MerchantReview> {

    @Override
    public MerchantReviewResponse convert(MerchantReview source) {
        MerchantReviewResponse  result = new  MerchantReviewResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

